package org.jeecg.modules.demo.warehouseorder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.warehouseorder.entity.WarehouseOrder;

import java.util.List;
import java.util.Map;

/**
 * @Description: warehouse_order
 * @Author: jeecg-boot
 * @Date:   2021-12-02
 * @Version: V1.0
 */
public interface WarehouseOrderMapper extends BaseMapper<WarehouseOrder> {
    public String getMaxCode();

    public List<String> selectByPoOrder(@Param("poOrder")String poOrder);

    public WarehouseOrder getByWoNo(@Param("wono") String wono);

    public Map<String,String> getMapByCon(@Param("con")String con);

    public Map<String,String> getMapBylrCon(@Param("con")String con);

    WarehouseOrder getByRkNo(String rkNo);

    public String getCode(@Param("number") String number);

    public boolean deleteByPdNo(@Param("str") String str);

    public WarehouseOrder getByDbNo(@Param("str")String str);

    public Map<String,Double> getRkNumAndTotail();

    public Map<String,Double> getCkNumAndTotail();

    public List<WarehouseOrder> getBypoNo(@Param("str") String str);
    public Map<String,Double> getYkByOrder(@Param("str") String str);

}
